package com.study.seckill.entity;


import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Document(indexName = "course_seckill")
public class CourseSeckillES implements Serializable {
  @Id
  private Integer id;
  private String name;
  private String course_id;
  private String show_time;
  private String start_time;
  private String end_time;
  private BigDecimal seckill_price;
  private BigDecimal favorable_price;
  private Integer seckill_num;
  private String version;

}
